<?php
namespace backend\config;
use Yii;

class routeParams{
    static function routeArray(){


         $URL="http://192.168.5.107:6502/"; //红生
         $IMGURL="http://192.168.5.107:6500"; //红生

//       $URL="http://106.14.80.50:6502/"; //红生
//       $IMGURL="http://106.14.80.50:6500"; //红生


        return array(
            "IMGURL"                => $IMGURL,
            'ImageUpload'           => $IMGURL."/api/File/ImageUpload",                                         //上传图片地址

            
            /********************************************* @ 角色管理*************************************/
            'AdminLogin'            => $URL.'api/PCMytip/Login',                   //用户登录
            'GetMytipInfo'          => $URL.'api/PCMytip/Get',                     //ceshi



            /********************************************* @ 砍价活动 *************************************/
            'PCBargainInfoCreate'   => $URL.'api/PCBargain/PCBargainInfoCreate',         //砍价活动创建
            'PCBargainInfoGetList'  => $URL.'api/PCBargain/PCBargainInfoGetList',        //获取砍价活动列表
            'PCBargainInfoGet'      => $URL.'api/PCBargain/PCBargainInfoGet',            //获取砍价详情
            'PCBargainInfoDelete'   => $URL.'api/PCBargain/PCBargainInfoDelete',         //删除砍价活动
            'PCBargainRecordGetList'   => $URL.'api/PCBargain/PCBargainRecordGetList',         //获取参与记录

            /********************************************* @ 新人礼包活动 *************************************/
            'PCGameGiftPackCreate'  => $URL.'api/PCGiftPack/PCGameGiftPackCreate',       //创建新人礼包活动
            'PCGameGiftPackGetList' => $URL.'api/PCGiftPack/PCGameGiftPackGetList',      //新人礼包活动列表
            'PCGameGiftPackGet'     => $URL.'api/PCGiftPack/PCGameGiftPackGet',          //新人礼包活动详情
            'PCGameGiftPackDelete'  => $URL.'api/PCGiftPack/PCGameGiftPackDelete',       //新人礼包活动删除
            'PackRecordGetList'     => $URL.'api/PCGiftPack/PCGameGiftPackRecordGetList',//新人礼包活动跟踪

            /********************************************* @ 拆礼包活动 *************************************/
            'PCGameOpenBoxCreate'   => $URL.'api/PCOpenBox/PCGameOpenBoxCreate',         //创建拆礼包活动
            'PCGameOpenBoxGetList'  => $URL.'api/PCOpenBox/PCGameOpenBoxGetList',        //创建拆礼包活动列表
            'PCGameOpenBoxGet'      => $URL.'api/PCOpenBox/PCGameOpenBoxGet',            //创建拆礼包活动详情
            'PCGameOpenBoxDelete'   => $URL.'api/PCOpenBox/PCGameOpenBoxDelete',         //创建拆礼包活动删除
            'OpenBoxRecordGetList'  => $URL.'api/PCOpenBox/PCGameOpenBoxRecordGetList',  //拆礼包活动跟踪
            'OpenBoxPrizeGetList'   => $URL.'api/PCOpenBox/PCGameOpenBoxPrizeGetList',   //拆礼包活动奖品列表
            'OpenBoxPrizeCreate'    => $URL.'api/PCOpenBox/PCGameOpenBoxPrizeCreate',    //活动奖品创建

            /********************************************* @ 大转盘活动 *************************************/
            'LuckyWheellCreate'     => $URL.'api/PCLuckyWheell/PCGameLuckyWheellCreate', //大转盘活动创建
            'LuckyWheellGetList'    => $URL.'api/PCLuckyWheell/PCGameLuckyWheellGetList',//大转盘活动列表
            'LuckyWheellDelete'     => $URL.'api/PCLuckyWheell/PCGameLuckyWheellDelete', //大转盘活动删除
            'LuckyRecordGetList'    => $URL.'api/PCLuckyWheell/PCGameLuckyWheellRecordGetList', //大转盘活动删除
            'WheellPrizeGetList'    => $URL.'api/PCLuckyWheell/PCGameLuckyWheellPrizeGetList',  //大转盘活动礼品列表
            'WheellPrizeCreate'     => $URL.'api/PCLuckyWheell/PCGameLuckyWheellPrizeCreate',   //大转盘活动礼品创建
            'PCGameLuckyWheellGet'  => $URL.'api/PCLuckyWheell/PCGameLuckyWheellGet',    //大转盘活动详情
            'WheellReceiveRecord'   => $URL.'api/PCLuckyWheell/PCGameLuckyWheellReceiveRecord', //大转盘活动个人领取活动记录



                /********************************************* @ 团购活动 *************************************/
            'PCGameGroupBuyCreate'     => $URL.'api/PCGroupBuy/PCGameGroupBuyCreate',           //大转盘活动创建
            'PCGameGroupBuyGet'        => $URL.'api/PCGroupBuy/PCGameGroupBuyGet',              //获取活动详情

            /********************************************* @ 团购 *************************************/
            'PCGameGroupBuyGetList' => $URL.'api/PCGroupBuy/PCGameGroupBuyGetList',      //团购列表
            'GroupBuyRecordGetList' => $URL.'api/PCGroupBuy/PCGameGroupBuyRecordGetList',//活动报名跟踪
            'GroupBuyGroupMemberGetList' => $URL.'api/PCGroupBuy/PCGameGroupBuyGroupMemberGetList', //活动报名跟踪
            'PCGameGroupBuyDelete'  => $URL.'api/PCGroupBuy/PCGameGroupBuyDelete',      //删除团购活动


            /********************************************* @ 员工管理系统 *************************************/
            'SearchCustomer'        => $URL.'api/Customer/SearchCustomer',               //员工列表
            'MytipTagGetList'       => $URL.'api/Customer/MytipTagGetList',              //获取标签列表
            'CustomerDetail'        => $URL.'api/Customer/CustomerDetail',               //获取客户详情
            'GroupGetList'          => $URL.'api/Customer/GroupGetList',                 //获取分组列表
            'CustomerUpdate'        => $URL.'api/Customer/CustomerUpdate',               //编辑用户信息
            'CustomerCreate'        => $URL.'api/Customer/CustomerCreate',               //添加客户信息
            'CustomerDelete'        => $URL.'api/Customer/CustomerDelete',               //删除客户信息
            'GroupCreate'           => $URL.'api/Customer/GroupCreate',                  //创建分组
            'GroupUpdate'           => $URL.'api/Customer/GroupUpdate',                  //更新分组
            'GroupDelete'           => $URL.'api/Customer/GroupDelete',                  //删除分组
            'CustomerToGroup'       => $URL.'api/Customer/CustomerToGroup',              //移动客户分组
            'RemoveFromGroup'       => $URL.'api/Customer/RemoveCustomerFromGroup',      //移出分组
            'AddCustomTag'          => $URL.'api/Customer/AddCustomTag',                 //添加客户自定义标签
            'CustomerImport'        => $URL.'api/Customer/CustomerImport',               //导入excel
            'CustomSourceGet'       => $URL.'api/Customer/CustomSourceGet',              //客户来源

            /********************************************* @ 个人信息 *************************************/
            'PCMytipGet'            => $URL.'api/PCMytip/Get',                           //获取个人信息
            'PCMytipUpdate'         => $URL.'api/PCMytip/Update',                        //编辑个人信息
            'PCUpdatePwd'           => $URL.'api/PCMytip/PCUpdatePwd',                   //修改密码

            /********************************************* @ 现场活动 *************************************/
            'ActRoomGetList'        => $URL.'api/FOfflineAct/ActRoomGetList',             //我的活动模板列表
            'TemplateGetList'       => $URL.'api/FOfflineAct/TemplateGetList',            //获取现场活动模板列表
            'ActTemplateCreate'     => $URL.'api/FOfflineAct/ActTemplateCreate',          //创建活动模板
            'ActDetail'             => $URL.'api/FOfflineAct/ActDetail',                  //活动详情
            'ActApplyList'          => $URL.'api/FOfflineAct/ActApplyList',               //活动详情地下的列表
            'RoomCreate'            => $URL.'api/FOfflineAct/RoomCreate',                 //创建房间
            'ActTemplateDetail'     => $URL.'api/FOfflineAct/ActTemplateDetail',          //模板详情

            /********************************************* @ 订单 *************************************/
            'PCAdMarketOrderGetList'        => $URL.'api/PCOrder/PCAdMarketOrderGetList',       //获取销售订单列表
            'PCAdSubscribeOrderGetList'     => $URL.'api/PCOrder/PCAdSubscribeOrderGetList',    //获取预约订单列表
            'PCAdActivityOrderGetList'      => $URL.'api/PCOrder/PCAdActivityOrderGetList',     //获取活动订单列表
            'PCOrderDetialGet'              => $URL.'api/PCOrder/PCOrderDetialGet',             //订单详情
            
            /********************************************* @ 绩效分析 *************************************/
            'PCMytipPerformanceRise'        => $URL.'api/PCDataAnalysis/PCMytipPerformanceRise',  //获取绩效分析
            'PCMytiPrankingList'            => $URL.'api/PCDataAnalysis/PCMytiPrankingList',      //获取绩效排行 
            'PCSpreadAnalyze'               => $URL.'api/PCDataAnalysis/PCSpreadAnalyze',         //获取推广分析 
            'PCCustomerSourceAnalyze'       => $URL.'api/PCDataAnalysis/PCCustomerSourceAnalyze', //客户来源分析 
            'PCCustomerRise'                => $URL.'api/PCDataAnalysis/PCCustomerRise',          //客户增长分析 
            'PCCustomerTagAnalyze'          => $URL.'api/PCDataAnalysis/PCCustomerTagAnalyze',    //客户增长标签分析 

            /********************************************* @ 获取短信 *************************************/
            'PCSmsRecordGetList'            => $URL.'api/PCMessage/PCSmsRecordGetList',           //获取短息发送记录
            'PCPrecisionSendMessage'        => $URL.'api/PCMessage/PCPrecisionSendMessage',       //短息发送
            'PCChooseForVerifyCount'        => $URL.'api/PCMessage/PCChooseForVerifyCount',       //短息发送数量
            'PCSmsTemplateCreate'           => $URL.'api/PCMessage/PCSmsTemplateCreate',          //创建模板消息
            'PCSmsTemplateGetList'          => $URL.'api/PCMessage/PCSmsTemplateGetList',         //获取模板消息

            /********************************************* @ 下属管理列表 *************************************/
            'PCSubordinateGetList'          => $URL.'api/PCSubordinate/PCSubordinateGetList',     //下属管理列
            'PCSubordinateGet'              => $URL.'api/PCSubordinate/PCSubordinateGet',         //下属管理列s

            /********************************************* @ 首页数据 *************************************/
            'PCHomeDataGet'                      => $URL.'api/PCHome/PCHomeDataGet',                   //首页数据
            'PCHomeDataForPlatformGet'          => $URL.'api/PCHome/PCHomeDataForPlatformGet',                     //获取平台首页数据





            /********************************************* @ 菜单管理*************************************/
            'ControllerActionGetList'              => $URL.'api/MytipPermission/ControllerActionGetList',                //获取左侧菜单


            /********************************************* @ 权限管理*************************************/
            'MytipGetList'                                  => $URL.'api/PCMytip/GetList',                                          //获取集客多多列表
            'MytipSetState'                                 => $URL.'api/PCMytip/SetState',                                         //锁定激活
            'MytipResetPwd'                                 => $URL.'api/PCMytip/ResetPwd',                                         //重置密码
            'MytipInfoCreate'                               => $URL.'api/PCMytip/Create',                                           //新增用户信息
            'MytipUpdate'                                   => $URL.'api/PCMytip/Update',                                           //修改模块
            'AlertMytipInfo'                                => $URL.'api/PCMytip/AlertMytipInfo',                                   //编辑用户信息（等级限制）
            'MytipDelete'                                   => $URL.'api/PCMytip/Delete',                                            //删除用户
            'MytipLevelGetList'                             => $URL.'api/MytipLevel/GetList',                                       //等级列表
            'MytipLevelUpdate'                              => $URL.'api/MytipLevel/Update',                                        //编辑等级信息
            'LevelControllerActionGetList'                => $URL.'api/MytipPermission/LevelControllerActionGetList',         //获取集客多多等级关联控制器列表
            'LevelControllerActionSave'                   => $URL.'api/MytipPermission/LevelControllerActionSave',             //保存集客多多等级关联控制器
            'ControllerInfoGetList'                        => $URL.'api/MytipControllerInfo/GetList',                             //获取控制器名称
            'ControllerInfoCreate'                         => $URL.'api/MytipControllerInfo/Create',                              //新增控制器名称
            'ControllerInfoUpdate'                         => $URL.'api/MytipControllerInfo/Update',                              //修改控制器名称
            'ActionInfoGetList'                             => $URL.'api/MytipActionInfo/GetList',                                 //获取模块名称
            'ActionInfoGetCreate'                           => $URL.'api/MytipActionInfo/Create',                                  //创建模块
            'ActionInfoGetUpdate'                           => $URL.'api/MytipActionInfo/Update',                                  //修改模块
            'ControllerActionMapSave'                      => $URL.'api/MytipPermission/ControllerActionMapSave',               //保存控制器与模块关联

            'PCEnterpriseEmployeeLevelGetList'           => $URL.'api/PCEnterprise/PCEnterpriseEmployeeLevelGetList',        //等级列表(新)
//            'PCEnterpriseEmployeeLevelSave'           => $URL.'api/PCEnterprise/PCEnterpriseEmployeeLevelSave',        //等级列表(新)





            /******************************************************************** @ 推广管理 ***********************************************************/
            'AdvertorialInitDataGet'                      => $URL.'api/Spread/AdvertorialInitDataGet',               //获取初期范例
            'AdMarketCreate'                            => $URL.'api/Spread/AdMarketCreate',                    //创建销售软文
            'AdActivityCreate'                          => $URL.'api/Spread/AdActivityCreate',                  //创建报名软文
            'AdSubscribeCreate'                          => $URL.'api/Spread/AdSubscribeCreate',               //创建预约软文
            'AdvertorialPublish'                        => $URL.'api/Spread/AdvertorialPublish',               //发布软文
            'AdTemplateGetDetail'                      => $URL.'api/Spread/AdTemplateGetDetail',               //获取软文详情
            'MyAdvertoerialGetList'                      => $URL.'api/Spread/MyAdvertoerialGetList',           //获取我的软文
            'AdvertoriaDelete'                            => $URL.'api/Spread/AdvertoriaDelete',                   //删除指定软文-未发布

            /******************************************************************** @ 任务管理 ***********************************************************/
            'PCTaskInfoCreate'                         => $URL.'api/PCTask/PCTaskInfoCreate',                    //创建基础任务
            'PCTaskInfoGetList'                        => $URL.'api/PCTask/PCTaskInfoGetList',                    //获取任务列表
            'PCTaskInfoDelete'                         => $URL.'api/PCTask/PCTaskInfoDelete',                    //删除任务
            'PCTaskInfoGet'                             => $URL.'api/PCTask/PCTaskInfoGet',                             //获取任务详情

            /******************************************************************** @ 消息管理 ***********************************************************/
            'FNoticeTypeGetList'                         => $URL.'api/PCMessage/FNoticeTypeGetList',                    //获取集客多多消息类型列表
            'PCNoticeGetList'                            => $URL.'api/PCMessage/PCNoticeGetList',                       //获取集客多多消息列表
            'PCNoticeDelete'                            => $URL.'api/PCMessage/PCNoticeDelete',                         //删除消息通知
            'PCNoticeDetail'                            => $URL.'api/PCMessage/PCNoticeDetail',                         //获取消息详情

            /******************************************************************** @ 企业管理 - 平台使用 ***********************************************************/
            'PCEnterpriseInfoGetList'                         => $URL.'api/PCOfficial/PCEnterpriseInfoGetList',                    //获取企业列表
            'PCEnterpriseInfoSave'                            => $URL.'api/PCOfficial/PCEnterpriseInfoSave',                        //添加企业
            'PCEnterpriseInfoGet'                             => $URL.'api/PCOfficial/PCEnterpriseInfoGet',                          //获取企业信息
            'PCEnterpriseInfoDelete'                          => $URL.'api/PCOfficial/PCEnterpriseInfoDelete',                      //删除企业
            'PCEnterpriseMytipGetList'                        => $URL.'api/PCOfficial/PCEnterpriseMytipGetList',                  //获取企业员工列表
            'PCEnterpriseMytipSave'                           => $URL.'api/PCOfficial/PCEnterpriseMytipSave',                       //添加企业管理员
            'PCEnterpriseMytipDelete'                         => $URL.'api/PCOfficial/PCEnterpriseMytipDelete',                   //删除企业员工
            'PCEnterpriseMytipSetSuper'                       => $URL.'api/PCOfficial/PCEnterpriseMytipSetSuper',                   //设置超级企业账户


            /******************************************************************** @ 版本管理 ***********************************************************/
            'PCSysVersionInfoGetList'                         => $URL.'api/PCOfficial/PCSysVersionInfoGetList',                    //获取版本列表
            'PCProbationApplyGetList'                         => $URL.'api/PCOfficial/PCProbationApplyGetList',                    //获取试用申请列表（待审核）
            'PCProbationApplyAudit'                           => $URL.'api/PCOfficial/PCProbationApplyAudit',                       //试用申请审核
            'PCEnterpriseInfoApplyGetList'                   => $URL.'api/PCOfficial/PCEnterpriseInfoApplyGetList',               //获取企业资料待审核列表
            'PCEnterpriseInfoAudit'                           => $URL.'api/PCOfficial/PCEnterpriseInfoAudit',                       //审核企业信息
            'PCENTWithdrawApplyGetList'                      => $URL.'api/PCOfficial/PCENTWithdrawApplyGetList',                    //获取企业提现申请列表
            'PCENTWithdrawAudit'                                => $URL.'api/PCOfficial/PCENTWithdrawAudit',                            //企业提现审核




            /******************************************************************** @ 官网管理 ***********************************************************/
            'PCCustomerCaseGetList'                         => $URL.'api/PCOfficial/PCCustomerCaseGetList',                    //获取客户案例列表
            'PCCustomerCaseSave'                             => $URL.'api/PCOfficial/PCCustomerCaseSave',                       //保存客户案例
            'PCCustomerCaseGet'                             => $URL.'api/PCOfficial/PCCustomerCaseGet',                         //获取客户案例详情
            'PCCustomerCaseDelete'                           => $URL.'api/PCOfficial/PCCustomerCaseDelete',                  //删除客户案例

            /******************************************************************** @ 系统管理 ***********************************************************/
            'PCSysVersionInfoGetList'                         => $URL.'api/PCOfficial/PCSysVersionInfoGetList',                    //获取版本列表
            'PCSysVersionInfoSave'                            => $URL.'api/PCOfficial/PCSysVersionInfoSave',                        //修改版本信息
            'PCProductAdviseGetList'                            => $URL.'api/PCOfficial/PCProductAdviseGetList',                   //获取产品建议列表



            /******************************************************************** @ 系统管理 - 企业使用 ***********************************************************/
            'PCEnterpriseEmployeeGetList'                         => $URL.'api/PCEnterprise/PCEnterpriseEmployeeGetList',                    //获取员工列表
            'PCEnterpriseEmployeeLevelGetList'                   => $URL.'api/PCEnterprise/PCEnterpriseEmployeeLevelGetList',               //获取员工等级列表
            'PCEnterpriseEmployeeSave'                            => $URL.'api/PCEnterprise/PCEnterpriseEmployeeSave',                        //保存员工信息
            'PCAccountRecordGetList'                              => $URL.'api/PCOfficial/PCAccountRecordGetList',                             //获取资金流水列表（平台、企业公用）
            'PCEnterpriseEmployeeLevelSave'                      => $URL.'api/PCEnterprise/PCEnterpriseEmployeeLevelSave',                   //保存员工等级
            'PCEnterpriseParentEmployeeGetList'                  => $URL.'api/PCEnterprise/PCEnterpriseParentEmployeeGetList',               //获取上级员工列表
            'PCEnterpriseEmployeeDel'                             => $URL.'api/PCEnterprise/PCEnterpriseEmployeeDel',                           //删除员工
            'PCEnterpriseEmployeeLevelDel'                       => $URL.'api/PCEnterprise/PCEnterpriseEmployeeLevelDel',                      //删除员工等级
            'PCBizKeyValGetList'                                   => $URL.'api/PCEnterprise/PCBizKeyValGetList',                                //系统业务配置
            'PCBizKeyValSave'                                       => $URL.'api/PCEnterprise/PCBizKeyValSave',                                //修改系统业务值
            'PCEnterpriseWithdrawApplyGetList'                    => $URL.'api/PCEnterprise/PCEnterpriseWithdrawApplyGetList',              //获取提现记录
            'PCEnterpriseWithdrawApply'                            => $URL.'api/PCEnterprise/PCEnterpriseWithdrawApply',                              //提现申请
            'PCEnterpriseVersionRenew'                             => $URL.'api/PCEnterprise/PCEnterpriseVersionRenew',                              //版本续费
            'PCEnterpriseInfoSaveByEnt'                             => $URL.'api/PCEnterprise/PCEnterpriseInfoSaveByEnt',                              //保存企业信息
            'PCEnterpriseInfoGetDetial'                             => $URL.'api/PCEnterprise/PCEnterpriseInfoGetDetial',                              //获取企业详情
            'PCEnterpriseVersionRenewOrderVerify'                 => $URL.'api/PCEnterprise/PCEnterpriseVersionRenewOrderVerify',                    //版本续费支付验证
            'PCEnterpriseVersionRenewCallBack'                    => $URL.'api/PCEnterprise/PCEnterpriseVersionRenewCallBack',                      //续费回调
            'PCEnterpriseEmployeeLevelGetListByCode'              => $URL.'api/PCEnterprise/PCEnterpriseEmployeeLevelGetListByCode',                //通过Code获取员工等级列表





        );
    }

    public static  function HttpUrl($str){
        $routeParam = self::routeArray();
        return $routeParam[$str];
    }
}



